package com.ty.dto;


import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("orders")
public class Orders extends BaseId{


  private Long addressId;
  private Long deliveryTypeId;
  private Long userId;
  private String ordersId;
  private Date ordersTime;
  private Long totalPrice;
  private Long orderStatus;
  private Long payStatus;
  private Long deliveryStatus;
  private Long payType;
  private Long stockoutManage;
  private String reserved2;
  private String reserved3;


  public Long getAddressId() {
    return addressId;
  }

  public void setAddressId(Long addressId) {
    this.addressId = addressId;
  }

  public Long getDeliveryTypeId() {
    return deliveryTypeId;
  }

  public void setDeliveryTypeId(Long deliveryTypeId) {
    this.deliveryTypeId = deliveryTypeId;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public String getOrdersId() {
    return ordersId;
  }

  public void setOrdersId(String ordersId) {
    this.ordersId = ordersId;
  }

  public Date getOrdersTime() {
    return ordersTime;
  }

  public void setOrdersTime(Date ordersTime) {
    this.ordersTime = ordersTime;
  }

  public Long getTotalPrice() {
    return totalPrice;
  }

  public void setTotalPrice(Long totalPrice) {
    this.totalPrice = totalPrice;
  }

  public Long getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(Long orderStatus) {
    this.orderStatus = orderStatus;
  }

  public Long getPayStatus() {
    return payStatus;
  }

  public void setPayStatus(Long payStatus) {
    this.payStatus = payStatus;
  }

  public Long getDeliveryStatus() {
    return deliveryStatus;
  }

  public void setDeliveryStatus(Long deliveryStatus) {
    this.deliveryStatus = deliveryStatus;
  }

  public Long getPayType() {
    return payType;
  }

  public void setPayType(Long payType) {
    this.payType = payType;
  }

  public Long getStockoutManage() {
    return stockoutManage;
  }

  public void setStockoutManage(Long stockoutManage) {
    this.stockoutManage = stockoutManage;
  }

  public String getReserved2() {
    return reserved2;
  }

  public void setReserved2(String reserved2) {
    this.reserved2 = reserved2;
  }

  public String getReserved3() {
    return reserved3;
  }

  public void setReserved3(String reserved3) {
    this.reserved3 = reserved3;
  }


  @Override
  public String toString() {
    return "Orders{" +
            "addressId=" + addressId +
            ", deliveryTypeId=" + deliveryTypeId +
            ", userId=" + userId +
            ", ordersId='" + ordersId + '\'' +
            ", ordersTime=" + ordersTime +
            ", totalPrice=" + totalPrice +
            ", orderStatus=" + orderStatus +
            ", payStatus=" + payStatus +
            ", deliveryStatus=" + deliveryStatus +
            ", payType=" + payType +
            ", stockoutManage=" + stockoutManage +
            ", reserved2='" + reserved2 + '\'' +
            ", reserved3='" + reserved3 + '\'' +
            '}';
  }
}
